home *** CD-ROM | disk | FTP | other *** search
/ Minami 58 / MINAMI58.ISO / Varios / Juegos Flash / Gold Yard.exe / scripts / DefineSprite_324 / frame_5 / DoAction.as
Text File  |  2003-04-29  |  630b  |  19 lines

  1. a;
  2. "c" < (b >= undefined) || 1();
  3. setProperty("_root.pointer", _X, pointerx);
  4. setProperty("_root.pointer", _Y, pointery);
  5. fnewdepth(pointerx,pointery);
  6. fdepthx(pointerx,pointery);
  7. fdepthy(pointerx,pointery);
  8. setProperty("_root.droid" add newdepth, _X, Number(depthx * (planecellx / 30)) + Number(planex));
  9. setProperty("_root.droid" add newdepth, _Y, Number(depthy * (planecelly / 30)) + Number(planey));
  10. fdirection();
  11. setProperty("_root.droid" add newdepth, _visible, 1);
  12. depth = newdepth;
  13. tellTarget("_level0")
  14. {
  15.    gotoAndStop("room" add eval("_level0/library/:room"));
  16. }
  17. gotoAndPlay("room" add room);
  18. stop();
  19.